package cn.stylefeng.guns.sys.modular.system.model.params;

import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 任务状态确认表
 * </p>
 *
 * @author jiangge
 * @since 2020-09-10
 */
@Data
public class TaskStatusParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;


    /**
     * 工程id
     */
    private Integer proId;

    /**
     * 任务ID
     */
    private Integer taskId;

    /**
     * 状态1提交/确认/通过；0未确认/驳回
     */
    private Integer status;

    /**
     * 任务对应的值
     */
    private String content;
    private String createName;
    private String note;

    /**
     * 任务名称
     */
    private String taskName;
    private String taskIds;

    private Long createUser;
    private Long createId;

    @Override
    public String checkParam() {
        return null;
    }

    public TaskStatusParam() {
    }
    public TaskStatusParam(Integer proId, Integer taskId,Long createUser) {
        this.proId = proId;
        this.taskId = taskId;
        this.createUser = createUser;
        this.status = -1;
    }

    public TaskStatusParam(Integer proId, Integer taskId, Integer status, String content, String taskName,Long createId) {
        this.proId = proId;
        this.taskId = taskId;
        this.status = status;
        this.content = content;
        this.taskName = taskName;
        this.createId = createId;
    }
}
